<?php

namespace App\Console\Commands;

use App\Models\Reception;
use App\Services\AdminService;
use Illuminate\Console\Command;

class ResetReceptionTodayNumber extends Command
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'reset:reception-today-number';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = '重置顾问接待设置中的当日接待数';

    /**
     * Create a new command instance.
     *
     * @return void
     */
    public function __construct()
    {
        parent::__construct();
    }

    /**
     * Execute the console command.
     *
     * @return void
     */
    public function handle()
    {
        Reception::query()->update(['today_number' => 0]);
    }
}
